package com.jeesite.modules.workprocedure.service;

import com.jeesite.common.entity.Page;
import com.jeesite.modules.workprocedure.entity.WorkProcedure;
import com.jeesite.model.dto.ParamPageDTO;

/**
 * @author gzm
 * @desc 工序接口
 * @date 2019/8/5 16:12
 */
public interface IWorkProcedureService {
  /**
   * description: 分页查询数据
   *
   * @param page
   * @return com.jeesite.common.entity.Page<com.jeesite.modules.workprocedure.entity.WorkProcedure>
   */
  Page<WorkProcedure> listProcedures4Page(ParamPageDTO page);

  /**
   * description: 删除工序
   *
   * @param proId
   * @return void
   */
  void deleteById(String proId);

  /**
   * description: 保存工序
   *
   * @param procedure
   * @return void
   */
  void saveProcedure(WorkProcedure procedure);
}
